﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Multiprocessing.Core.Units
{
    public interface IProcessingBlockFactory
    {
        IProcessingBlock CreateProcessingBlock<TProcessingBlock>(int size)
            where TProcessingBlock : IProcessingBlock;

        IProcessingBlock CreateProcessingBlock(Type processingBlockType, int size);
    }
}
